package com.shiwaixiangcun.monitor.service;

import com.shiwaixiangcun.core.plugin.dto.MonkeyDto;
import com.shiwaixiangcun.core.service.BaseService;
import com.shiwaixiangcun.monitor.domain.Device;
import com.shiwaixiangcun.monitor.dto.DeviceDetailsDto;
import com.shiwaixiangcun.monitor.dto.DeviceListDto;
import com.shiwaixiangcun.monitor.dto.DeviceSearchDto;
import com.shiwaixiangcun.monitor.dto.WirelessReceiverListDto;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by Administrator on 2018-01-15.
 */
public interface DeviceService extends BaseService<Device, Long> {

    void saveDevice(MonkeyDto monkeyDto);

    void updateDevice(MonkeyDto monkeyDto);

    DeviceDetailsDto getDeviceDetails(Long id);

    Page<DeviceListDto> getDeviceList(Pageable pageable, DeviceSearchDto deviceSearchDto);

    List<WirelessReceiverListDto> getWirelessReceiverList();
}
